package com.study.quiz.service;

import com.study.quiz.dto.CommentResponseDTO;
import com.study.quiz.pojo.Comment;
import com.study.quiz.pojo.User;

import java.util.List;

/**
 * @author CJunGod
 * @create 2020-03-08 22:11
 **/
public interface CommentService {

    int insert(Comment comment, User user, Long questionId);

    List<CommentResponseDTO> listByTargetId(Integer questionId, Integer type);

}
